package phoenix.web.locators.localsgowild;

import org.openqa.selenium.By;

import phoenix.web.locators.base.SearchPageLocatorsBase;

/**
 * Search page locators for Localsgowild
 */
public class SearchPageLocators extends SearchPageLocatorsBase
{
	/**
	 * Ovverides specific locators
	 */
	public SearchPageLocators()
	{
		blockSearchMenu = By.xpath("//*[@id='data-page-menu']//h1");
		linkSearchOnline = By.xpath("//li[@data-type='online']");
		linkSearchNear = By.xpath("//li[@data-type='near_you']");
		linkSearchRecently = By.xpath("//li[@data-type='new_members']");
		blockSearchMenuCurrent = By.xpath("//h1[@id='data-type-title']");

		// Activity menu
		linkActivityMenu = By.xpath("//*[@id='data-page-menu']//h1");
		linkActivityMyFriends = By.xpath("//li[@data-type='favourite']");
		linkActivityBrowsedMe = By.xpath("//li[@data-type='view']");
		linkActivityMessagedMe = By.xpath("//li[@data-type='mail']");
		linkActivityWinkedMe = By.xpath("//li[@data-type='wink']");
		linkActivityFeed = By.xpath("//li[@data-type='newsFeed']");

		/**
		 * Text elements
		 */
		txtUserSreenname = By.className("b-screenname");
		txtUserListAge = By.cssSelector("div.b-user-info > div.b-age");
		txtUserListDistanse = By.cssSelector("div.from-you");
		txtUserCounty = By.className("country");

		// Buttons
		btnSearch = By.id("btn-search");

		blockAdvancedSearch = By.id("search-form");
	}
}
